<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
					  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html>
	<head>
		<title>Pragprog Books Online Store</title>
		<%= stylesheet_link_tag "depot" , :media => "all" %>
		<%= javascript_include_tag :defaults %>
	</head>
	<body id="store">
		<div id="banner">
			<%= link_to(image_tag("logo.png" ),{:controller => 'store', :action => 'index'}) %>

			<%= @page_title || "Pragmatic Bookshelf" %>
		</div>
		<div id="columns">
			<div id="side">
						<% hidden_div_if(@cart.items.empty?, :id => "cart" ) do %>
								<%= render(:partial => "cart" , :object => @cart) %>
						<% end %>
								<%= render(:partial => "cart" , :object => @cart) %>
				<%= "You have visited this page #{@count} times!" if @count_minimum_to_display %><br />


				<a href="http://www....">Home</a><br />
				<a href="http://www..../faq">Questions</a><br />
				<a href="http://www..../news">News</a><br />
				<a href="http://www..../contact">Contact</a><br />
				<br />
				<br />
				<br />
				<br />
				

			</div>
			<div id="main">
				<% if flash[:notice] -%>
				<div id="notice"><%= flash[:notice] %></div>
				<% end -%>
				<%= yield :layout %>
			</div>
		</div>
	</body>
</html>